package com.ld.admin.model.system.outdatabase;

import java.io.Serializable;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

/**
 * @ClassName OutDatabaseExcelModel
 * @Description excel导出模型
 * @Author 付信豪
 * @Date 2019/8/12 14:01
 * @ModifyDate 2019/8/12 14:01
 * @Version 1.0
 */
@Data
public class OutDatabaseExcelModel implements Serializable {
    private static final long serialVersionUID = -7593502534950378277L;
    @Excel(name = "表名", orderNum = "1", mergeVertical = true, type = 1, width = 20)
    private String tableName;
    @Excel(name = "表注释", orderNum = "2", mergeVertical = true, type = 1, width = 20)
    private String tableComments;
    @Excel(name = "字段", orderNum = "3", type = 1, width = 20)
    private String columnName;
    @Excel(name = "类型", orderNum = "4", type = 1, width = 20)
    private String columnType;
    @Excel(name = "是否允许为空", orderNum = "5", type = 1, width = 20)
    private Boolean nullable;
    @Excel(name = "默认值", orderNum = "6", type = 1, width = 20)
    private Object defaultValue;
    @Excel(name = "备注", orderNum = "7", type = 1, width = 50)
    private String remarks;
}